mirror of
https://git.shadowkat.net/izaya/tiny-gopherd.git
synced 2024-10-08 15:33:43 -04:00
added an example systemd service
This commit is contained in:
parent
022699f899
commit
d79488d48a
14
install/tiny-gopherd.service
Normal file
14
install/tiny-gopherd.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Tiny gopher daemon
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=www-data
|
||||
ExecStart=/usr/bin/env lua /var/www//gopherd.lua /etc/tiny-gopherd.cfg
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user