tiny-gopherd/install/tiny-gopherd.service

15 lines
257 B
SYSTEMD
Raw Permalink Normal View History

2019-02-19 14:18:46 +11:00
[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