mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-06-23 04:10:25 +00:00
run manager using systemd (#213)
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7a2789fb5f
commit
bdfc5fd06d
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Cocos Manager
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=cocos-manager
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
EnvironmentFile=/etc/cocos/cocos-manager.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user