Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user.catalan > #5526

Systemd no m'atura un servei

From Narcis Garcia <debianlists@actiu.net>
Newsgroups linux.debian.user.catalan
Subject Systemd no m'atura un servei
Date 2018-04-28 08:50 +0200
Message-ID <vJrQd-1BQ-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Tinc aquest fitxer enregistrat: /etc/systemd/system/eventoj.service
I l'acció ExecStart és cridada tant quan s'inicia el sistema com quan
s'executa: systemctl start eventoj
Però l'acció ExecStopPost no és cridada en aturar el sistema ni tampoc
en executar manualment: systemctl stop eventoj
(també ho he provat amb ExecStop, que només s'utilitza per quan s'ha
iniciat abans)

Algú em sabria dir on està el problema?

[Unit]
Description=Extra events manager
Documentation=http://www.actiu.net/eventoj/
Wants=runlevel2.target runlevel3.target runlevel4.target
runlevel5.target syslog.service
After=networking.service network-online.target
#PartOf=syslog.service
Conflicts=runlevel0.target runlevel1.target runlevel6.target

[Service]
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/eventoj start
ExecReload=/usr/bin/eventoj reload
ExecStopPost=/usr/bin/eventoj stop
TimeoutStartSec=10
TimeoutStopSec=30

[Install]
WantedBy=default.target


Gràcies.
-- 


__________
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.

Back to linux.debian.user.catalan | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Systemd no m'atura un servei Narcis Garcia <debianlists@actiu.net> - 2018-04-28 08:50 +0200
  Re: Systemd no m'atura un servei Alex Muntada <alexm@debian.org> - 2018-04-29 14:30 +0200
    Re: Systemd no m'atura un servei Narcis Garcia <debianlists@actiu.net> - 2018-04-30 10:50 +0200
      Re: Systemd no m'atura un servei Alex Muntada <alexm@debian.org> - 2018-05-01 13:10 +0200

csiph-web