Page MenuHomeDevCentral

Set absolute path for systemd Exec instruction
AbandonedPublic

Authored by dereckson on Sep 14 2017, 23:38.
Tags
None
Referenced Files
F4017408: D1015.diff
Sat, Jan 18, 04:04
Unknown Object (File)
Tue, Jan 14, 08:44
Unknown Object (File)
Thu, Dec 26, 10:44
Unknown Object (File)
Dec 19 2024, 04:02
Unknown Object (File)
Dec 16 2024, 21:53
Unknown Object (File)
Dec 16 2024, 00:57
Unknown Object (File)
Dec 13 2024, 09:44
Unknown Object (File)
Dec 13 2024, 09:25
Subscribers
None

Details

Summary

Until recently, systemd allowed arbitrary executable values,
but now it requires an absolute path to the executable.

Fixes T1233.

This is a follow-up for f7788aa6.

Test Plan

systemctl status odderon

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
force-absolute-path-for-systemd (branched from master)
Build Status
Buildable 1589
Build 1837: arc lint + arc unit

Event Timeline

Actually, new darkbot source code doesn't generate a pid file, and it's not as useful as to provide a wrapper (viz. we never used once systemd reload odderon).

So, instead I'm going to drop this line in D1016.