summarylogtreecommitdiffstats
path: root/subconverter.service
diff options
context:
space:
mode:
authoratomlong2021-10-20 13:40:40 +0800
committeratomlong2021-10-20 13:40:40 +0800
commit899981d29ce62e0471c5f6b692cba56a631a7044 (patch)
tree5205c08bd0b37d7f25ad9b57607184df8926528b /subconverter.service
parenta291a1ad00465a719ab606537f85745e4d2f4fdf (diff)
downloadaur-899981d29ce62e0471c5f6b692cba56a631a7044.tar.gz
add systemd service file.
Diffstat (limited to 'subconverter.service')
-rw-r--r--subconverter.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/subconverter.service b/subconverter.service
new file mode 100644
index 000000000000..b9d49a25234d
--- /dev/null
+++ b/subconverter.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Subconverter service
+
+[Service]
+User=root
+Type=simple
+ExecStart=/opt/subconverter/subconverter.sh
+Restart=on-failure
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target