Added systemd template
the build was successful Details

This commit is contained in:
konrad 2018-01-16 18:12:33 +01:00 committed by kolaente
parent 24d2a6519f
commit 030e2af33d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 23 additions and 0 deletions

23
systemd/library.service Normal file
View File

@ -0,0 +1,23 @@
[Unit]
Description=Library (A service to manage you library)
After=syslog.target
After=network.target
#After=mysqld.service
[Service]
# Modify these two values and uncomment them if you have
# repos with lots of files and get an HTTP error 500 because
# of that
###
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
RestartSec=2s
Type=simple
User=library
Group=library
WorkingDirectory=/home/library
ExecStart=/home/library/library
Restart=always
[Install]
WantedBy=multi-user.target