Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit6b4bb4e4f8f64973b8efd1b01c6e198cb6324b09 (patch)
Author
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2021-06-12 18:34:45 +0000
Committer
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2021-06-12 18:34:45 +0000
Files736afafab92a499cf28a42f34192c31d6fe60c61
templates-6b4bb4e4f8f64973b8efd1b01c6e198cb6324b09.tar
templates-6b4bb4e4f8f64973b8efd1b01c6e198cb6324b09.tar.gz
templates-6b4bb4e4f8f64973b8efd1b01c6e198cb6324b09.zip
Parentdfdb67d1372e64d5eb713042beb8e235e3bba4c7 (diff)
Added systemd template
1 files changed, 12 insertions, 0 deletions
-rw-r--r--systemd.service12
diff --git a/systemd.service b/systemd.service
new file mode 100644
index 0000000..105bb73
--- /dev/null
+++ b/systemd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Service
+StartLimitIntervalSec=0
+[Service]
+Type=simple
+Restart=always
+RestartSec=1
+User=root
+ExecStart=/usr/local/sbin/script.sh
+
+[Install]
+WantedBy=multi-user.target