Added more templates
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=<description about this service>
|
||||
|
||||
[Service]
|
||||
User=<user e.g. root>
|
||||
WorkingDirectory=<directory_of_script e.g. /root>
|
||||
ExecStart=<script which needs to be executed>
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
# Install Location - /etc/systemd/system
|
||||
# Reload The Service to find files - sudo systemctl daemon-reload
|
||||
Reference in New Issue
Block a user