You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
435 B
15 lines
435 B
8 years ago
|
[Unit]
|
||
|
Description=Scriptform
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Environment=FORM_CONFIG=/home/fboender/Projects/fboender/scriptform/examples/megacorp_acc/megacorp_acc.json
|
||
|
Environment=LOG_FILE=/var/log/scriptform.log
|
||
|
Environment=PORT=8081
|
||
|
ExecStart=/usr/bin/scriptform --pid-file=/var/run/scriptform.pid --port=${PORT} --log-file=${LOG_FILE} ${FORM_CONFIG}
|
||
|
Type=forking
|
||
|
PIDFile=/var/run/scriptform.pid
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|