Browse Source

Add artriculate system level service

Donald Carr 7 years ago
parent
commit
e7e9b3e01f
2 changed files with 18 additions and 1 deletions
  1. 17 0
      src/resources/artriculate.service
  2. 1 1
      src/src.pro

+ 17 - 0
src/resources/artriculate.service

@@ -0,0 +1,17 @@
+# Forked off xlogin@.service
+
+[Unit]
+Description=Qt-compositor login for user %i
+DefaultDependencies=no
+After=local-fs.target
+Before=systemd-networkd.service
+
+[Service]
+User=root
+Type=notify
+WorkingDirectory=/tmp
+ExecStart=-/usr/bin/artriculate-bin
+Restart=on-failure
+
+[Install]
+WantedBy=local-fs.target

+ 1 - 1
src/src.pro

@@ -113,6 +113,6 @@ icon.path = /usr/share/icons/hicolor/128x128/apps
 icon.files += resources/artriculate.png
 
 systemd.path = /usr/lib/systemd/system
-systemd.files += resources/artriculate@.service
+systemd.files += resources/artriculate@.service resources/artriculate.service
 
 INSTALLS += target desktop icon systemd