diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-06 19:46:58 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-12 01:11:52 -0400 |
commit | 0019869f5b92c731ff85e8d3074e03f1a82163a5 (patch) | |
tree | 806ad5be448d428eab4c508122c033a9b0b51196 /pcr/gmid/gmid.service | |
parent | 5571a7f59ee3bee87ab45d4d2c983c6251c2f066 (diff) | |
download | abslibre-0019869f5b92c731ff85e8d3074e03f1a82163a5.tar.gz abslibre-0019869f5b92c731ff85e8d3074e03f1a82163a5.tar.bz2 abslibre-0019869f5b92c731ff85e8d3074e03f1a82163a5.zip |
[gmid]: add package
Diffstat (limited to 'pcr/gmid/gmid.service')
-rw-r--r-- | pcr/gmid/gmid.service | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/gmid/gmid.service b/pcr/gmid/gmid.service new file mode 100644 index 000000000..bba037bf5 --- /dev/null +++ b/pcr/gmid/gmid.service @@ -0,0 +1,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 |