Added more templates

This commit is contained in:
Phil 2022-05-29 13:08:52 +01:00
parent 2cdbf49058
commit 9467689a84
3 changed files with 33 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
[program:hak5c2]
autorestart = True
user = USER
command = /opt/hak5_c2/current/c2-3.1.2_amd64_linux -hostname HOSTNAME -reverseProxy -reverseProxyPort 443 -db /opt/hak5_c2/config/c2.db -listenip 127.0.0.1 -https

View File

@ -0,0 +1,14 @@
[Unit]
Description=syncthing
[Service]
User=syncthing
WorkingDirectory= /opt/syncthing/config
ExecStart= /opt/syncthing/bin/current/syncthing -no-browser -logflags=0 -gui-address=IP:PORT -home=/opt/syncthing/config/
Restart=always
[Install]
WantedBy=multi-user.target
# Install Location - /etc/systemd/system
# Reload The Service to find files - sudo systemctl daemon-reload