many refinements
This commit is contained in:
15
templates/service_template.service
Normal file
15
templates/service_template.service
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
[Unit]
|
||||
Description={{ service_name }}
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory={{ service_working_folder }}
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart={{ service_exe }}
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user