You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[gssproxy] Change daemon to Type=notify with systemd
This avoids the need for daemonization, pid files, etc and also provides nicer
output from systemctl. The notify integration is already prepared to work with
Type=notify-reload (which is a bit too recent to make the default at the
moment, requires systemd 253+).
With this patch applied:
root@qtest1:~# systemctl status gssproxy
● gssproxy.service - GSSAPI Proxy Daemon
Loaded: loaded (/lib/systemd/system/gssproxy.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-10-20 12:59:32 CEST; 4s ago
Main PID: 58516 (gssproxy)
Status: "Running, 1 service(s) configured"
...
root@qtest1:~# ls -1 /etc/gssproxy/
24-nfs-server.conf
gssproxy.conf
root@qtest1:~# vi /etc/gssproxy/50-nfs-client.conf
root@qtest1:~# ls -1 /etc/gssproxy/
24-nfs-server.conf
50-nfs-client.conf
gssproxy.conf
root@qtest1:~# systemctl reload gssproxy
root@qtest1:~# systemctl status gssproxy
● gssproxy.service - GSSAPI Proxy Daemon
Loaded: loaded (/lib/systemd/system/gssproxy.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-10-20 12:59:32 CEST; 1min 39s ago
Process: 58576 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 58516 (gssproxy)
Status: "Running, 2 service(s) configured"
...
Signed-off-by: David Härdeman <david@hardeman.nu>
0 commit comments