diff options
author | Andrea Feletto | 2022-03-14 17:02:40 +0100 |
---|---|---|
committer | Andrea Feletto | 2022-03-14 17:02:40 +0100 |
commit | 8432689b101b93366fcb6a82259503a6f6a0396c (patch) | |
tree | 6a905a792a66c581b44b3a68e6b0aaaeb66979d8 /gmid.service | |
parent | aa914fb626eee3d7e9cc8f86e080aba7b58881e3 (diff) | |
download | aur-8432689b101b93366fcb6a82259503a6f6a0396c.tar.gz |
add service and sysusers files
Diffstat (limited to 'gmid.service')
-rwxr-xr-x | gmid.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gmid.service b/gmid.service new file mode 100755 index 000000000000..0cb2bd506efd --- /dev/null +++ b/gmid.service @@ -0,0 +1,22 @@ +[Unit] +Description=The gmid Gemini server +Documentation=https://gmid.omarpolo.com/ +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=30 +StandardOutput=journal +StandardError=inherit +SyslogIdentifier=gmid + +[Install] +WantedBy=multi-user.target |