1 | #pragma once |
---|---|
2 | |
3 | #include "unit/unit.hpp" |
4 | |
5 | #include <string> |
6 | |
7 | struct Symlink : public Unit |
8 | { |
9 | using Unit::Unit; |
10 | |
11 | std::string linkfile; |
12 | std::string target; |
13 | |
14 | private: |
15 | bool do_start() override; |
16 | bool do_stop() override; |
17 | bool do_load(const toml::table &data) override; |
18 | }; |
19 |