Skip to content
Snippets Groups Projects
Commit b8073bee authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: stop disapp.service for maintenance by using 'Conflicts=' statement,...

feat: stop disapp.service for maintenance by using 'Conflicts=' statement, which is much more systemd-like and resolves an issue with write access to the disapp.log when stopping the service
parent 969a3544
Branches
No related tags found
No related merge requests found
Pipeline #5330 passed
[Unit]
Description=stop DisApp for monthly maintenance at ZIH
After=remote-fs.target
Conflicts=disapp.service
[Service]
Type=simple
Restart=no
Environment="PERL5LIB=/usr/local/perl/"
ExecStart=/usr/bin/perl -I /usr/local/perl/ /usr/local/bin/disapp_rosetta.pl \
--config-file /home/access/.disapp/disapp.cfg \
--stop
ExecStart=true
User={{ vault_disapp_user }}
Group={{ vault_disapp_group }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment