new
This commit is contained in:
12
tools/centos/etc/systemd/system/service.service
Normal file
12
tools/centos/etc/systemd/system/service.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/data/wwwroot/service/
|
||||
ExecStart=/data/wwwroot/service/main
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user