add systemd service file

This commit is contained in:
lilydjwg 2018-06-25 14:28:36 +08:00
parent e00de1a616
commit 763d1ec110
2 changed files with 10 additions and 0 deletions

10
misc/archrepo2.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=archrepo2 service for archlinuxcn repo
[Service]
Type=simple
ExecStart=/usr/bin/archreposrv /etc/archrepo2.ini
Restart=on-failure
[Install]
WantedBy=multi-user.target