Commit ce8bd322 authored by Sandino Araico Sánchez's avatar Sandino Araico Sánchez 🍺
Browse files

Configuración para Systemd

parent 71900b69
......@@ -12,6 +12,7 @@ Demonio de Hello World
10. Manejador de señal SIGHUP
11. Manejador de señal SIGUSR1
12. Init script para SysV
13. Configuración para Systemd
[Unit]
Description=Demonio de Hello World
After=syslog.target
#After=network.target
[Service]
Type=forking
ExecStart=/usr/local/bin/helloworldd.pl -d
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/helloworldd.pid
KillMode=process
Restart=on-failure
#Restart=always
RestartSec=5s
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment