fix up the systemd service files to include pids and fix permissions
This commit is contained in:
parent
bcdb82b770
commit
758662985c
@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/sbin/pbs_mom
|
ExecStart=/usr/sbin/pbs_mom
|
||||||
|
PIDFile=/var/lib/torque/mom_priv/mom.lock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/sbin/pbs_sched
|
ExecStart=/usr/sbin/pbs_sched
|
||||||
|
PIDFile=/var/lib/torque/sched_priv/sched.lock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/sbin/pbs_server
|
ExecStart=/usr/sbin/pbs_server
|
||||||
|
PIDFile=/var/lib/torque/server_priv/server.lock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -623,6 +623,7 @@ fi
|
|||||||
%dir %{torquehomedir}
|
%dir %{torquehomedir}
|
||||||
%dir %{torquehomedir}/aux
|
%dir %{torquehomedir}/aux
|
||||||
%attr (1777,root,root) %{torquehomedir}/spool
|
%attr (1777,root,root) %{torquehomedir}/spool
|
||||||
|
%attr (1777,root,root) %{torquehomedir}/undelivered
|
||||||
%dir %{torquehomedir}/spool
|
%dir %{torquehomedir}/spool
|
||||||
%dir %{torquehomedir}/undelivered
|
%dir %{torquehomedir}/undelivered
|
||||||
%{torquehomedir}/checkpoint
|
%{torquehomedir}/checkpoint
|
||||||
|
Loading…
Reference in New Issue
Block a user