January 19, 2013 00:20 Systemd #223199
Top
WhiteHatHacker

Avatar

Novice
Join Date: 17.1.2013
Posts: 1
I can't seem to figure out how to get AVG to run on my Arch Linux system running Systemd. I tried creating my own .service file for it but it fails after trying to execute the path. Got any ideas?

Service File:
 [Unit]
Description=AVG anti-virus, used for detecting and terminating viruses.

[Service]
ExecStart=/opt/avg/av/bin/avgctl
Type=forking

[Install]
WantedBy=multi-user.target
January 21, 2013 13:25 Re: Systemd #223300
Top
Rigby

Avatar

Novice
Join Date: 25.8.2009
Posts: 94
Hi,

there is probably wrong value fro ExecStart item.

For example here is my systemd file on testing system:
==================
[root@arch-test-avg ~]# cat /etc/systemd/system/multi-user.target.wants/avgd.service
[Unit]
Description=Avgd start stop script

[Service]
Type=forking
ExecStart=/usr/bin/avgctl --start
ExecStop=/usr/bin/avgctl --stop
PIDFile=/opt/avg/av/var/run/avgd.pid

[Install]
WantedBy=multi-user.target
=================

ExecStart must contain path to /usr/bin/avgctl, this file links to avg wraper (needed for all necesarry libs loading).

Regards,

R.