1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-04 19:19:36 -07:00
moth/contrib/mothd.service

18 lines
374 B
Desktop File

# To install:
# sudo cp mothd.service /etc/systemd/system/moth.service
# sudo systemctl enable mothd
# sudo systemctl start mothd
[Unit]
Description=Monarch Of The Hill server
After=network.target auditd.service
[Service]
WorkingDirectory=/srv/moth
User=www-data
ExecStart=/srv/moth/mothd
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target