diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-14 00:19:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-14 00:19:02 +0100 |
commit | 333918aa838615aed27cb5f4b49b87269868deeb (patch) | |
tree | 9781ce1626081e4dd17db9dd1cde49b9f89f194b /app-containers/incus/files/incus-0.1.service | |
parent | b8330d80ce605a72596ccfa1bfc087b9ded559b8 (diff) |
gentoo auto-resync : 14:10:2023 - 00:19:01
Diffstat (limited to 'app-containers/incus/files/incus-0.1.service')
-rw-r--r-- | app-containers/incus/files/incus-0.1.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-containers/incus/files/incus-0.1.service b/app-containers/incus/files/incus-0.1.service new file mode 100644 index 000000000000..354a53122923 --- /dev/null +++ b/app-containers/incus/files/incus-0.1.service @@ -0,0 +1,23 @@ +[Unit] +Description=Incus - main daemon +After=network-online.target lxcfs.service incus.socket +Requires=network-online.target lxcfs.service incus.socket +Documentation=man:incus(1) + +[Service] +EnvironmentFile=-/etc/environment +ExecStart=/usr/sbin/incusd --group incus --syslog +ExecStartPost=/usr/sbin/incusd waitready --timeout=600 +ExecStartPre=/bin/mkdir -p /var/log/incus +ExecStartPre=/bin/chown -R root:incus /var/log/incus +KillMode=process +PermissionsStartOnly=true +TimeoutStartSec=600s +TimeoutStopSec=30s +Restart=on-failure +LimitNOFILE=1048576 +LimitNPROC=infinity +TasksMax=infinity + +[Install] +Also=incus-containers.service incus.socket |