feat: backend native executor implement
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=YMS Update Daemon
|
||||
After=network.target nginx.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/bin/yms-daemon serve
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RuntimeDirectory=yms-daemon
|
||||
RuntimeDirectoryMode=0755
|
||||
StateDirectory=yms-daemon
|
||||
StateDirectoryMode=0750
|
||||
LogsDirectory=yms-daemon
|
||||
LogsDirectoryMode=0750
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=yms-daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user