Check in service files

This commit is contained in:
Tekaoh
2020-02-05 23:41:08 +00:00
parent 7c8a47309e
commit a5fa8bf64a
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=stationchat
[Service]
Type=simple
User=swgd
Group=swgd
WorkingDirectory=/home/swgd/swg-main/chat/
ExecStart=/home/swgd/swg-main/chat/stationchat |& tee ../logs/stationchat-$(date "+%%Y.%%m.%%d-%%H.%%M.%%S").log

9
include/swg.service Normal file
View File

@@ -0,0 +1,9 @@
[Unit]
Description=swg
[Service]
Type=simple
User=swgd
Group=swgd
WorkingDirectory=/home/swgd/swg-main
ExecStart=/home/swgd/swg-main/include/start.sh |& tee swgd-$(date "+%%Y.%%m.%%d-%%H.%%M.%%S").log