16 lines
No EOL
337 B
Desktop File
16 lines
No EOL
337 B
Desktop File
[Unit]
|
|
Description=easyctf web server
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/var/easyctf/env
|
|
PIDFile=/run/easyctf/pid
|
|
User=root
|
|
WorkingDirectory=$PROJECT_DIRECTORY
|
|
ExecStart=$PROJECT_DIRECTORY/entrypoint.sh
|
|
ExecReload=$KILL -s HUP \$MAINPID
|
|
ExecStop=$KILL -s TERM \$MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |