-
-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the spec file with the rpm macro to put the unit file in the system-wide unit file directory based on: [root@1713bbf19a0b /]# rpmbuild --eval '%{_unitdir}' /usr/lib/systemd/system Allow user to create a drop directory to specify options via environment variables. Resolves #12.
- Loading branch information
1 parent
3120628
commit f0d6cfa
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Run mgmt configuration management | ||
Documentation=https://github.com/purpleidea/mgmt/ | ||
After=systemd-networkd.service | ||
Requires=systemd-networkd.service | ||
|
||
[Service] | ||
ExecStart=/usr/bin/mgmt run ${OPTS} | ||
RestartSec=5s | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters