# Copyright 1998-2022 Stonie R. Cooper # Licensed under the auspices of GPLv3 # See top-level copyright disclaimer (COPYRIGHT) and license (LICENSE) [Unit] Description=Pdinrs: call to start pdinrs After=local-fs.target remote-fs.target systemd-logind.service systemd-user-sessions.service network.target nfs-client.target autofs.target ldm.service Before=crond.service [Service] Type=forking User=pdinrs WorkingDirectory=/usr/local/pdinrs PIDFile=/usr/local/pdinrs/pdinrs.pid ExecStartPre=/bin/date +will_run_pdinrs.init_start_at_%%c ExecStart=/usr/local/pdinrs/bin/pdinrs.init start ExecStop=/usr/local/pdinrs/bin/pdinrs.init stop Restart=always RestartSec=2s [Install] RequiredBy=multi-user.target