diff options
Diffstat (limited to 'gitautofetch.service')
-rw-r--r-- | gitautofetch.service | 15 |
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 |