Neale Pickett
·
2019-08-25
mothd.service
1# To install:
2# sudo cp mothd.service /etc/systemd/system/moth.service
3# sudo systemctl enable mothd
4# sudo systemctl start mothd
5
6[Unit]
7Description=Monarch Of The Hill server
8After=network.target auditd.service
9
10[Service]
11WorkingDirectory=/srv/moth
12User=www-data
13ExecStart=/srv/moth/mothd
14KillMode=process
15Restart=on-failure
16
17[Install]
18WantedBy=multi-user.target