diff options
author | Deposite Pirate | 2018-09-17 11:14:56 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-17 11:14:56 +0200 |
commit | 39206fc146510b3661776665ac2c4634a19d4a1e (patch) | |
tree | f8236e8db570639f2a2f80b411723c8436b26f18 /geomyidae-git/service | |
parent | f67beb10ba5118ef847a12c3e6f64187f9fbab1a (diff) |
Add geomyidae-git.
Diffstat (limited to 'geomyidae-git/service')
-rw-r--r-- | geomyidae-git/service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/geomyidae-git/service b/geomyidae-git/service new file mode 100644 index 0000000..41da8eb --- /dev/null +++ b/geomyidae-git/service @@ -0,0 +1,20 @@ +[Unit] +Description=A gopher server daemon +Documentation=man:geomyidae(8) +After=network.target network-online.target nss-lookup.target + +[Service] +Type=forking +WorkingDirectory=/srv/gopher +ProtectSystem=strict +ProtectHome=true +MemoryDenyWriteExecute=true +SystemCallArchitectures=native +NoNewPrivileges=true +StandardOutput=syslog +SyslogIdentifier=geomyidae +EnvironmentFile=-/etc/conf.d/geomyidae +ExecStart=/usr/bin/geomyidae -c -l stdout -u geomyidae -g geomyidae $GEOMYIDAE_ARGS + +[Install] +WantedBy=multi-user.target |