Added systemd template
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
24d2a6519f
commit
030e2af33d
|
@ -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
|
Loading…
Reference in New Issue