Check in service files
This commit is contained in:
9
include/stationchat.service
Normal file
9
include/stationchat.service
Normal 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
9
include/swg.service
Normal 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
|
||||
Reference in New Issue
Block a user