소스 검색

[systemd] Add snapclient and enable it

Colin Powell 2 년 전
부모
커밋
25d7721fa4
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      systemd/.config/systemd/user/default.target.wants/snapclient.service
  2. 10 0
      systemd/.config/systemd/user/snapclient.service

+ 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