summaryrefslogtreecommitdiff
path: root/pcr/gmid/gmid.service
blob: bba037bf515497c9e24d956c6a9a0fee1fb5e778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Unit]
Description=gmid Gemini daemon
Documentation=man:gg(1) man:gmid(1)
After=network-online.target syslog.target
Wants=network-online.target

[Service]
Type=simple
User=gmid
Group=nobody
ExecStart=/usr/bin/gmid -f -c /etc/gmid.conf
ExecStop=/bin/kill -TERM $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=inherit
SyslogIdentifier=gmid
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectControlGroups=true

[Install]
WantedBy=multi-user.target