fix up the systemd service files to include pids and fix permissions

This commit is contained in:
David Brown 2015-05-17 20:39:10 -07:00
parent bcdb82b770
commit 758662985c
4 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
[Service]
Type=forking
ExecStart=/usr/sbin/pbs_mom
PIDFile=/var/lib/torque/mom_priv/mom.lock
[Install]
WantedBy=multi-user.target

View File

@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
[Service]
Type=forking
ExecStart=/usr/sbin/pbs_sched
PIDFile=/var/lib/torque/sched_priv/sched.lock
[Install]
WantedBy=multi-user.target

View File

@ -5,6 +5,7 @@ After=syslog.target network.target trqauthd.service
[Service]
Type=forking
ExecStart=/usr/sbin/pbs_server
PIDFile=/var/lib/torque/server_priv/server.lock
[Install]
WantedBy=multi-user.target

View File

@ -623,6 +623,7 @@ fi
%dir %{torquehomedir}
%dir %{torquehomedir}/aux
%attr (1777,root,root) %{torquehomedir}/spool
%attr (1777,root,root) %{torquehomedir}/undelivered
%dir %{torquehomedir}/spool
%dir %{torquehomedir}/undelivered
%{torquehomedir}/checkpoint