This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Systemd File for SAVDID

Hi,

 

does anyone have a working savdid.service file for SAVDI ?

I tried to create one but its not working:

 

[Unit]
Description=SAV Dynamic Interface (SAVDI) for Sophos Anti-Virus for Linux.
After=network.target


[Service]
Type=forking
PIDFile=/var/tmp/savdi/new.pid
ExecStart=/usr/local/bin/savdid -d -c /usr/local/savdi/savdid.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
PrivateTmp=true
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target



This thread was automatically locked due to age.
Parents
  • The systemd unit file below works for me on RHEL 7.

    /etc/systemd/system/savdid.service:

    [Unit]
    Description=Sophos SAV Dynamic Interface Daemon
    After=network.target

    [Service]
    Type=forking
    PIDFile=/var/run/savdid.pid
    ExecStart=/usr/local/bin/savdid -d -c /etc/savdid.conf -f /var/run/savdid.pid -s
    ExecReload=/bin/kill -HUP $MAINPID
    Restart=on-failure
    PrivateTmp=true
    ProtectSystem=full
    ProtectHome=true

    [Install]
    WantedBy=multi-user.target

     

    Savdid does not start if there is an unprivileged user/group enforcement in systemd unit file itself, however it does start if unprivileged user/group is configured in savdid.conf instead.

Reply
  • The systemd unit file below works for me on RHEL 7.

    /etc/systemd/system/savdid.service:

    [Unit]
    Description=Sophos SAV Dynamic Interface Daemon
    After=network.target

    [Service]
    Type=forking
    PIDFile=/var/run/savdid.pid
    ExecStart=/usr/local/bin/savdid -d -c /etc/savdid.conf -f /var/run/savdid.pid -s
    ExecReload=/bin/kill -HUP $MAINPID
    Restart=on-failure
    PrivateTmp=true
    ProtectSystem=full
    ProtectHome=true

    [Install]
    WantedBy=multi-user.target

     

    Savdid does not start if there is an unprivileged user/group enforcement in systemd unit file itself, however it does start if unprivileged user/group is configured in savdid.conf instead.

Children
No Data