Skip to content

Commit a2e1a75

Browse files
committed
Add demo systemd service file.
1 parent 95f5199 commit a2e1a75

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

examples/systemd/git-sync.service

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=Git Sync Daemon
3+
4+
[Service]
5+
Restart=on-failure
6+
RestartSec=5
7+
SyslogIdentifier=git-sync
8+
User=git
9+
ExecStart=/usr/local/bin/git-sync -config /etc/git-sync.yaml -verbose -workers 10
10+
11+
[Install]
12+
WantedBy=multi-user.target
13+

0 commit comments

Comments
 (0)