Skip to content

Commit 4cd35eb

Browse files
authored
build(package): remove unnecessary lines (#1519)
- removes unnecessary clear lines (following typical convention in /usr/lib/systemd/system/foo.service) - removes extra leading whitespace
1 parent 7e2730c commit 4cd35eb

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

devolutions-gateway/src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,13 @@ fn run() -> anyhow::Result<()> {
129129
cfg_if! { if #[cfg(target_os = "linux")] {
130130
controller.config = Some(r#"
131131
[Unit]
132-
After=
133132
After=network-online.target
134133
135134
[Service]
136-
ExecStart=
137135
ExecStart=/usr/bin/devolutions-gateway --service
138136
Restart=on-failure
139137
140138
[Install]
141-
WantedBy=
142139
WantedBy=multi-user.target
143140
"#.to_owned());
144141
}}
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
[Unit]
2-
After=
3-
After=network-online.target
2+
After=network-online.target
43

54
[Service]
6-
ExecStart=
7-
ExecStart=/usr/bin/devolutions-gateway --service
8-
Restart=on-failure
5+
ExecStart=/usr/bin/devolutions-gateway --service
6+
Restart=on-failure
97

10-
[Install]
11-
WantedBy=
12-
WantedBy=multi-user.target
8+
[Install]
9+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)