浏览代码

[systemd] Add snapclient and enable it

Colin Powell 2 年之前
父节点
当前提交
25d7721fa4

+ 1 - 0
systemd/.config/systemd/user/default.target.wants/snapclient.service

@@ -0,0 +1 @@
+/home/powellc/.config/systemd/user/snapclient.service

+ 10 - 0
systemd/.config/systemd/user/snapclient.service

@@ -0,0 +1,10 @@
+[Unit]
+Description=Snapclient
+
+[Service]
+ExecStart=/usr/bin/snapclient -h mopidy2.local
+ExecStop=kill $(pidof snapclient)
+Restart=on-failure
+
+[Install]
+WantedBy=default.target