aboutsummaryrefslogtreecommitdiff
path: root/gitautofetch.service
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-01-02 15:47:10 +0100
committerTim <contact@bytim.eu>2025-01-02 15:47:10 +0100
commit64203ec7c0a7ea9466d6a013f18fddc5af7db77b (patch)
tree953cacb7262cf9e502706a9584ce85dbbff18d61 /gitautofetch.service
downloadGitAutoFetch-64203ec7c0a7ea9466d6a013f18fddc5af7db77b.tar.xz
GitAutoFetch-64203ec7c0a7ea9466d6a013f18fddc5af7db77b.zip
Initial commit
Diffstat (limited to 'gitautofetch.service')
-rw-r--r--gitautofetch.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/gitautofetch.service b/gitautofetch.service
new file mode 100644
index 0000000..5999993
--- /dev/null
+++ b/gitautofetch.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=GitAutoFetch
+After=network.target
+
+[Service]
+Type=simple
+Restart=on-failure
+RestartSec=5s
+LimitNOFILE=1048576
+
+WorkingDirectory=/apps/GitAutoFetch/
+ExecStart=dotnet /apps/GitAutoFetch/GitAutoFetch.dll
+
+[Install]
+WantedBy=multi-user.target