Added more templates
This commit is contained in:
parent
2cdbf49058
commit
9467689a84
14
Linux/Service/Name.service
Normal file
14
Linux/Service/Name.service
Normal 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
|
||||||
5
Supervisor/Hak5 C2/hak5c2.conf
Normal file
5
Supervisor/Hak5 C2/hak5c2.conf
Normal 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
|
||||||
|
|
||||||
14
syncthing/syncthing.service
Normal file
14
syncthing/syncthing.service
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user