From 9bcec234e2b010fedd3a2f12bc859a7dfcfd8a04 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 3 Jan 2020 03:16:10 +0000 Subject: [PATCH] Initial commit --- petrified.service | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 petrified.service diff --git a/petrified.service b/petrified.service new file mode 100644 index 0000000..6514978 --- /dev/null +++ b/petrified.service @@ -0,0 +1,22 @@ +# +# /usr/lib/systemd/system/petrified.service +# +# This unit is intended for out-of-the-box turnkey operation +# and runs as the root user using the predefined defaults for +# files and directories in /etc/petrified.conf +# +# The provided petrified.timer unit is what should be enabled, +# not this service unit file directly: +# +# systemctl start petrified.timer +# systemctl enable petrified.timer +# + +[Unit] +Description=Run petrified in system mode +After=network-online.target +Requires=network-online.target + +[Service] +Type=simple +ExecStart=/usr/bin/petrified -c /etc/petrified.conf \ No newline at end of file