Просмотр исходного кода

- Updated totify`s unit file to support enable

Parad0x 6 лет назад
Родитель
Сommit
9c018d3a86
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      systemd-unit/totify.service

+ 4 - 1
systemd-unit/totify.service

@@ -8,4 +8,7 @@ ExecStart=/home/totify/totify
 Restart=on-failure
 User=totify
 Group=totify
-Environment="TELEGRAM_TOKEN="
+Environment="TELEGRAM_TOKEN="
+
+[Install]
+WantedBy=multi-user.target