From 92b11296fd3343c4a857d4af6f49b5d2d7da6dd5 Mon Sep 17 00:00:00 2001 From: rafi59 Date: Tue, 5 Sep 2017 17:54:34 +0200 Subject: [PATCH] [fix] systemd --- conf/systemd.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 conf/systemd.service diff --git a/conf/systemd.service b/conf/systemd.service new file mode 100644 index 0000000..a8e95a8 --- /dev/null +++ b/conf/systemd.service @@ -0,0 +1,14 @@ + +[Unit] +Description=Collabora online +After=network.target + +[Service] +Type=simple +User=__APP__ +Group=__APP__ +WorkingDirectory=__FINALPATH__/ +ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1 + +[Install] +WantedBy=multi-user.target