summaryrefslogtreecommitdiffstats
path: root/receptor@.service
diff options
context:
space:
mode:
authorAndrew Heath <anheath@redhat.com>2023-08-16 10:20:56 -0400
committerAndrew Heath <anheath@redhat.com>2023-08-16 10:20:56 -0400
commit06736a405cfebc513f264d391a03eb142e9eeba2 (patch)
tree2fcb698dc766bd0b68d7e9b23ac1a3d5774cc497 /receptor@.service
parentf77cb7d6ba4574645735c42f899f4c5eca093016 (diff)
downloadreceptor-06736a405cfebc513f264d391a03eb142e9eeba2.tar.gz
receptor-06736a405cfebc513f264d391a03eb142e9eeba2.tar.xz
receptor-06736a405cfebc513f264d391a03eb142e9eeba2.zip
updating spec for conf file and systemd service
Diffstat (limited to 'receptor@.service')
-rw-r--r--receptor@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/receptor@.service b/receptor@.service
new file mode 100644
index 0000000..f6abf3a
--- /dev/null
+++ b/receptor@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Receptor
+
+[Service]
+ExecStart=/usr/bin/receptor -c /etc/receptor/%i.conf
+User=receptor
+Group=receptor
+StandardOutput=append:/var/log/receptor/%i.log
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target