diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-11-19 11:52:47 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-11-19 11:52:47 +0100 |
commit | 1fe607610ae2f7477d22784c8bf28453df25efbc (patch) | |
tree | 58511278363721346f670c1c1be6d2c1f0c6aea5 /vdagentd.c | |
parent | 1d9465f8822f3e241c8c22c862c873e37b49fb1b (diff) | |
download | vd_agent-1fe607610ae2f7477d22784c8bf28453df25efbc.tar.gz vd_agent-1fe607610ae2f7477d22784c8bf28453df25efbc.tar.xz vd_agent-1fe607610ae2f7477d22784c8bf28453df25efbc.zip |
Put the pid and log files into their own subdir
This makes it easier to write an selinux policy for spice-vdagent and allows
for adding extra logfiles / sockets in the future without needing a policy
change.
Diffstat (limited to 'vdagentd.c')
-rw-r--r-- | vdagentd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ struct agent_data { }; /* variables */ -static const char *logfilename = "/var/log/spice-vdagentd.log"; -static const char *pidfilename = "/var/run/spice-vdagentd.pid"; +static const char *logfilename = "/var/log/spice-vdagentd/spice-vdagentd.log"; +static const char *pidfilename = "/var/run/spice-vdagentd/spice-vdagentd.pid"; static const char *portdev = "/dev/virtio-ports/com.redhat.spice.0"; static const char *uinput_device = "/dev/uinput"; static int debug = 0; |