mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-13 05:06:19 +01:00
36 lines
805 B
SYSTEMD
36 lines
805 B
SYSTEMD
|
# SPDX-FileCopyrightText: 2025 Gergely Nagy
|
||
|
# SPDX-FileContributor: Gergely Nagy
|
||
|
#
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
[Unit]
|
||
|
After=network.target
|
||
|
Description=iocaine, the deadliest poison known to AI
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/local/bin/iocaine --config-file /usr/local/etc/iocaine/config.toml
|
||
|
|
||
|
DevicePolicy=closed
|
||
|
DynamicUser=true
|
||
|
LockPersonality=true
|
||
|
MemoryDenyWriteExecute=true
|
||
|
NoNewPrivileges=true
|
||
|
PrivateDevices=true
|
||
|
PrivateTmp=true
|
||
|
ProtectClock=true
|
||
|
ProtectControlGroups=true
|
||
|
ProtectHostname=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectProc=invisible
|
||
|
ProtectSystem=strict
|
||
|
Restart=on-failure
|
||
|
RestrictAddressFamilies=AF_INET
|
||
|
RestrictAddressFamilies=AF_INET6
|
||
|
RestrictNamespaces=true
|
||
|
RestrictRealtime=true
|
||
|
SystemCallArchitectures=native
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|