summarylogtreecommitdiffstats
path: root/mautrix-hangouts.service
diff options
context:
space:
mode:
authorbobpaul2020-02-17 23:22:03 -0600
committerbobpaul2020-02-17 23:22:03 -0600
commit4c3b5b147362d56131392718dc2f0157a20b777f (patch)
tree2a819b49a155fb0d09e9c3089bdbeeed46b56cbd /mautrix-hangouts.service
downloadaur-4c3b5b147362d56131392718dc2f0157a20b777f.tar.gz
Initial commit
Diffstat (limited to 'mautrix-hangouts.service')
-rw-r--r--mautrix-hangouts.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/mautrix-hangouts.service b/mautrix-hangouts.service
new file mode 100644
index 00000000000..3bafd9e4974
--- /dev/null
+++ b/mautrix-hangouts.service
@@ -0,0 +1,18 @@
+# /usr/lib/systemd/system/matrix-puppet-hangouts@.service
+# /etc/systemd/system/hangouts-puppet.service
+[Unit]
+Description=Hangouts Matrix Puppet
+
+[Service]
+Type=simple
+User=mautrix-hangouts
+Group=mautrix-hangouts
+WorkingDirectory=/var/lib/mautrix-hangouts/
+ExecStart=/usr/bin/mautrix-hangouts -c /etc/synapse/mautrix-hangouts/config.yaml \
+ -r /etc/synapse/mautrix-hangouts/registration.yaml \
+ -b /usr/share/mautrix-hangouts/example-config.yaml
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=multi-user.target