1
0
Fork 0
mirror of synced 2024-05-05 13:32:25 +12:00

Add systemd service example

This commit is contained in:
nagadomi 2018-11-12 08:44:32 +00:00
parent 07ac8b8559
commit 2835dc1935

View file

@ -0,0 +1,11 @@
[Unit]
Description = waifu2x API
[Service]
WorkingDirectory=/home/ubuntu/waifu2x
ExecStart = /home/ubuntu/waifu2x/appendix/run-web.sh 1 8811
Restart = always
Type = simple
[Install]
WantedBy = multi-user.target