You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
592 B
INI
25 lines
592 B
INI
[Unit]
|
|
Description=Linx on {{ domain }}
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[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={{ system_user }}
|
|
Group={{ system_user }}
|
|
WorkingDirectory={{ installation_directory }}
|
|
ExecStart={{ binary_path | quote }} -config {{ configuration_file | quote }}
|
|
Restart=always
|
|
Environment="USER={{ system_user }}"
|
|
Environment="HOME={{ user_directory }}"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|