bugfix: also enable on restart on linux

このコミットが含まれているのは:
AJ ONeal 2019-07-10 02:00:43 -06:00
コミット 8e1bd12df7
1個のファイルの変更6行の追加0行の削除

ファイルの表示

@ -52,6 +52,12 @@ func start(conf *service.Service) error {
Args: []string{"stop", name + ".service"},
Must: false,
},
Runnable{
Exec: "systemctl",
Args: []string{"enable", name + ".service"},
Badwords: []string{"not found", "failed"},
Must: true,
},
Runnable{
Exec: "systemctl",
Args: []string{"start", name + ".service"},