Explorar el Código

added an example systemd service

master
XeonSquared hace 5 años
padre
commit
d79488d48a
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. +14
    -0
      install/tiny-gopherd.service

+ 14
- 0
install/tiny-gopherd.service Ver fichero

@@ -0,0 +1,14 @@
[Unit]
Description=Tiny gopher daemon
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=www-data
ExecStart=/usr/bin/env lua /var/www//gopherd.lua /etc/tiny-gopherd.cfg

[Install]
WantedBy=multi-user.target

Cargando…
Cancelar
Guardar